import IconFont from '@/components/IconFont';
import { useNavigate } from 'react-router-dom';
import OStyle from '../index.less';
import PlanTable from './table';
const PlanLearnTable: React.FC<any> = () => {
  const navigator = useNavigate();

  return (
    <div className={OStyle.topMian}>
      <div className={OStyle.headT}>
        <div style={{ display: 'flex', flexDirection: 'row', alignItems: 'center' }}>
          <div className={OStyle.head_tit}>计划学习情况</div>
        </div>
        <div
          style={{ fontSize: '10px', color: '#999999', cursor: 'pointer' }}
          onClick={() => {
            navigator('/history');
          }}
        >
          查看历史
          <IconFont type="icon-xiangyou" style={{ marginLeft: '2px' }} />
        </div>
      </div>
      <PlanTable></PlanTable>
    </div>
  );
};

export default PlanLearnTable;
